package com.xishu.entity.order;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Entity(name = "delete_order_item")
@Table(indexes = {@Index(columnList = "shopId")})
public class DeleteOrderItem extends AbstractEntity {
    @ApiModelProperty(value = "分店ID")
    private Long shopId;

    @ApiModelProperty(value = "orderItemId")
    private Long orderItemId;

    @ApiModelProperty(value = "订单里面的菜品名称")
    private String orderItemName;

    @ApiModelProperty(value = "订单里面的菜品名称")
    private String orderItemName_zh;


    @ApiModelProperty(value = "订单里面的菜品名称")
    private String orderItemName_en;


    @ApiModelProperty(value = "是否已经发送过厨房")
    private boolean sendKitchen;

    @ApiModelProperty(value = "统计金额")
    private double price;

    @ApiModelProperty(value = "菜品id")
    private Long ItemId;

    @ApiModelProperty(value = "数量")
    private Integer countNumber;

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Integer getCountNumber() {
        return countNumber;
    }

    public void setCountNumber(Integer countNumber) {
        this.countNumber = countNumber;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public boolean isSendKitchen() {
        return sendKitchen;
    }

    public void setSendKitchen(boolean sendKitchen) {
        this.sendKitchen = sendKitchen;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getOrderItemName() {
        return orderItemName;
    }

    public void setOrderItemName(String orderItemName) {
        this.orderItemName = orderItemName;
    }

    public String getOrderItemName_zh() {
        return orderItemName_zh;
    }

    public void setOrderItemName_zh(String orderItemName_zh) {
        this.orderItemName_zh = orderItemName_zh;
    }

    public String getOrderItemName_en() {
        return orderItemName_en;
    }

    public void setOrderItemName_en(String orderItemName_en) {
        this.orderItemName_en = orderItemName_en;
    }

    public Long getItemId() {
        return ItemId;
    }

    public void setItemId(Long itemId) {
        ItemId = itemId;
    }
}
